//
//  ViewFactory.h
//  工厂模式
//
//  Created by macOS on 2017/4/20.
//  Copyright © 2017年 macOS. All rights reserved.
//

#import <Foundation/Foundation.h>


//简单工厂(静态工厂模式)
@interface ViewFactory : NSObject


- (NSObject *)createView:(NSString *)view_type;

+ (instancetype)sharedInstance;

//+ (NSObject *)createView:(NSInteger)choose;

@end
